-
Home
-
Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin
-
2.9.1 (latest)
-
Code
-
Classes
- Roles_Capabilities
Total Complexity |
112 |
Dependencies |
1 |
Dependents |
1 |
Total lines |
788 |
Lines of code |
352 |
Logical lines of code |
232 |
Comment lines |
313 |
Methods |
20 |
Properties |
0 |
Methods 20
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
um_current_user_can() |
B |
44 |
18 |
44 |
um_on_roles_update() |
B |
46 |
17 |
36 |
um_roles_init() |
A |
48 |
9 |
32 |
get_priority_user_role() |
A |
48 |
8 |
32 |
get_editable_priority_user_role() |
A |
49 |
8 |
29 |
set_role() |
A |
51 |
8 |
26 |
um_user_can() |
A |
55 |
8 |
19 |
role_data() |
S |
53 |
7 |
23 |
get_roles() |
S |
54 |
6 |
25 |
get_um_user_role() |
S |
57 |
4 |
18 |
get_editable_user_roles() |
S |
61 |
3 |
12 |
get_role_name() |
S |
63 |
3 |
11 |
get_all_user_roles() |
S |
69 |
2 |
7 |
remove_user_cache() |
S |
69 |
2 |
7 |
set_role_wp() |
S |
71 |
2 |
6 |
remove_role() |
S |
71 |
2 |
6 |
is_role_custom() |
S |
66 |
2 |
8 |
um_get_user_role() |
S |
81 |
1 |
3 |
key_to_role_id_mapping() |
S |
80 |
1 |
3 |
__construct() |
S |
71 |
1 |
5 |